<%--
  Created by IntelliJ IDEA.
  User: softair
  Date: 2018/11/25
  Time: 21:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>修改信息</title>
    <link rel="stylesheet" href="static/commons/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="static/css/public.css" media="all" />
</head>
<body class="childrenBody">

    <form action="customer-contact/edit" class="layui-form padr45" method="post" autocomplete="off">
        <div class="layui-form-item">
            <label class="layui-form-label">ID</label>
            <div class="layui-input-block">
                <input type="text" name="id" value="${contact.id}" readonly class="layui-input layui-disabled contact-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-block">
                <input type="text" name="name" value="${contact.name}" readonly class="layui-input layui-disabled contact-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <input type="text" value="${contact.sex}" readonly name="sex" class="layui-input layui-disabled contact-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">职位</label>
            <div class="layui-input-block">
                <input type="text" name="job" lay-verify="required" value="${contact.job}" class="layui-input contact-input" >
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">E-Mail</label>
            <div class="layui-input-block">
                <input type="text" name="email" lay-verify="email" placeholder="请输入邮箱" value="${contact.email}" class="layui-input contact-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机</label>
            <div class="layui-input-block">
                <input type="text" name="tel" lay-verify="required\phone\number" placeholder="请输入手机号码" value="${contact.tel}" class="layui-input contact-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="remark" placeholder="请输入备注" lay-verify="required" class="layui-textarea contact-input">${contact.remark}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="submit">确定</button>
                <button class="layui-btn layui-btn-primary close">关闭</button>
            </div>
        </div>
    </form>

    <script type="text/javascript" src="static/commons/layui/layui.js"></script>
    <script type="text/javascript" src="static/js/customerContact/contact.js"></script>

</body>
</html>
